home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pd0836.zip / DRVINFO.H < prev    next >
C/C++ Source or Header  |  1993-04-30  |  831b  |  44 lines

  1. /***    DRVINFO.H - Definitions for IsDoubleSpaceDrive
  2.  *
  3.  *      Version 1.00.58  12-Mar-1993
  4.  */
  5.  
  6. #ifndef BOOL
  7. typedef int BOOL;
  8. #endif
  9.  
  10. #ifndef FALSE
  11. #define FALSE 0
  12. #endif
  13.  
  14. #ifndef TRUE
  15. #define TRUE  1
  16. #endif
  17.  
  18. #ifndef BYTE
  19. typedef unsigned char BYTE;
  20. #endif
  21.  
  22. #ifndef WORD
  23. typedef unsigned short WORD;    // 2 bytes
  24. #endif
  25.  
  26. #ifndef DWORD
  27. typedef unsigned long  DWORD;   // 4 bytes
  28. #endif
  29.  
  30.  
  31.  
  32.  
  33. /** FDOP - FlushDrive operations
  34.  *
  35.  *  These are additional operations that can be performed by FlushDrive.
  36.  */
  37. typedef int FDOP;   /* fdop */
  38. #define FDOP_INVALIDATE 0x01            // Flush and *invalidate*
  39. #define FDOP_DISK_RESET 0x02            // Perform disk reset
  40.  
  41. BOOL FlushDrive(int drive, FDOP fdop);
  42.  
  43. BOOL IsDoubleSpaceDrive(BYTE drive, BOOL *pfSwapped, BYTE *pdrHost, int *pseq);
  44.